<%-- 
    Document   : lihatdaftar
    Created on : Dec 30, 2013, 9:26:13 AM
    Author     : Dell
--%>
<%@page import="model.Kipmol"%>
<% String userName = null;
    String Status = null;
    Cookie[] cookies = request.getCookies();
    if (cookies != null) {
        for (Cookie cookie : cookies) {
            if (cookie.getName().equals("user")) {
                userName = cookie.getValue();
            }
            if (cookie.getName().equals("Status")) {
                Status = cookie.getValue();
            }
        }
    }
    if (userName == null) {
        response.sendRedirect("login.jsp");
    } else if (!Status.equals("cetakkipem")) {
        response.sendRedirect("NoAuthorization.jsp");
    }%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel="stylesheet" type="text/css" href="css/kipmol.css">
        <title>KIPEM ONLINE</title>
    </head>
    <body>
        <div id="main">
            <div id="header">
                
                <a href="#">
                    <img src="img/Logo_surabaya.gif" id="logo">
                </a>
                <img src="img/kipem.jpg" id="logoText" alt="kipmol">
            </div>

        </div>


        <div id="fullpage">
            <div id="welcomeText">
                <p>Selamat Datang dispendukcapil, silahkan pilih menu yang disediakan</p>
            </div>
            <div class="button">
                <a href="<%=request.getContextPath()%>/lihatpemilikkipem.jsp">
                    <span class="buttonLabelText">Melihat daftar pemilik KIPEM</span>
                </a>
                <div class="button">
                    <a href="<%=request.getContextPath()%>/hasilverifikasi.jsp">
                        <span class="buttonLabelText">Melihat daftar hasil verifikasi KIPEM</span>
                    </a>
                </div>
                <div class="button">
                    <a href="<%=request.getContextPath()%>/daftarperpanjangan.jsp">
                        <span class="buttonLabelText">Melihat daftar Permintaan Perpanjangan KIPEM</span>
                    </a>
                </div>
            </div>
        </div>
        <div id="footer">
            <p id="footerText">RBPL C- Kelompok 4</p>
        </div>
    </body>
</html>
